//
//  AdMoreFullScreenInterstitialAd.h
//  AdMoreSDK
//
//  Created by Hayder on 2023/5/13.
//  插全屏广告

#import "AdMoreBaseAd.h"
NS_ASSUME_NONNULL_BEGIN
@class AdMoreFullScreenInterstitialAd;
@protocol AdMoreFullScreenInterstitialAdDelegate <NSObject>

@optional
/**插全屏广告加载成功回调*/
- (void)fullScreenInterstitiaAdDidLoad:(AdMoreFullScreenInterstitialAd *)interstitialAd slotId:(NSString *)slotId;
/**插全屏广告加载失败回调*/
- (void)fullScreenInterstitiaAd:(AdMoreFullScreenInterstitialAd *)interstitialAd didFailWithError:(NSError *_Nullable)error;

/**插全屏广告开始播放回调*/
- (void)fullScreenInterstitiaAdPlayStart:(AdMoreFullScreenInterstitialAd *)interstitialAd;
/**插全屏广告播放结束回调*/
- (void)fullScreenInterstitiaAdPlayEnd:(AdMoreFullScreenInterstitialAd *)interstitialAd;
/**插全屏广告播放出错*/
- (void)fullScreenInterstitiaAdPlayError:(AdMoreFullScreenInterstitialAd *)interstitialAd error:(NSError *)error;


/**插全屏广告点击回调*/
- (void)fullScreenInterstitiaAdDidClick:(AdMoreFullScreenInterstitialAd *)interstitialAd;
/**插全屏广告关闭回调*/
- (void)fullScreenInterstitiaAdDidClose:(AdMoreFullScreenInterstitialAd *)interstitialAd;


@end


@interface AdMoreFullScreenInterstitialAd : AdMoreBaseAd

@property (nonatomic, strong, readonly) NSString *slotID;

@property (nonatomic, weak) id<AdMoreFullScreenInterstitialAdDelegate> delegate;

/**
 slotID: 广告位ID
 */
- (instancetype)initWithSlotID:(NSString *)slotID;

/**加载广告*/
- (void)loadAdData;

- (void)showFromRootViewController:(UIViewController *)showController;

@end

NS_ASSUME_NONNULL_END
